package com.entity;

public class Relation {
    private Integer id;
    private String followerName;
    private String followedName;
    private Integer followerNum;
    private Integer followedNum;

    public Relation() {
    }

    public Integer getFollowerNum() {
        return followerNum;
    }

    public void setFollowerNum(Integer followerNum) {
        this.followerNum = followerNum;
    }

    @Override
    public String toString() {
        return "Relation{" +
                "id=" + id +
                ", followerName='" + followerName + '\'' +
                ", followedName='" + followedName + '\'' +
                ", followerNum=" + followerNum +
                ", followedNum=" + followedNum +
                '}';
    }

    public Integer getFollowedNum() {
        return followedNum;
    }

    public void setFollowedNum(Integer followedNum) {
        this.followedNum = followedNum;
    }

    public Relation(Integer id, String followerName, String followedName, Integer followerNum, Integer followedNum) {
        this.id = id;
        this.followerName = followerName;
        this.followedName = followedName;
        this.followerNum = followerNum;
        this.followedNum = followedNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFollowerName() {
        return followerName;
    }

    public void setFollowerName(String followerName) {
        this.followerName = followerName;
    }

    public String getFollowedName() {
        return followedName;
    }

    public void setFollowedName(String followedName) {
        this.followedName = followedName;
    }
}
